package com.eagle.support.constants;

/**
 * Created by gc on 2016/12/25.
 */

public class Constants {
    public static final String LOGIN_UID = "login_uid";
    public static final String CALL_UID = "call_uid";
    public static final String CHANNEL_ID = "channel_id";
    public static final String RELAY_INFO = "relay_info";
    public static final String MEETING_INVITATION_ID = "meeting_invitation_id";
    public static final String LIVE_HELP = "LIVE_HELP";
    public static final String CALL_MODE = "call_mode";
    public static final String USER_ROLE = "user_role";
    public static final String ROOM_ID = "room_id";
    public static final String MEETING_SENDER = "meeting_sender";
    public static final String LIVE_PREFIX = "live_";

    /**
     * 接听会议邀请
     */
    public static final String CALL_TYPE_MEETING_ANSWER = "call_type_meeting_answer";

    /**
     * sdk是否初始化
     */
    public static final String SDK_INIT = "sdk_init";

    /**
     * 视频电话邀请
     */
    public static final String CALL_TYPE_CALL_ANSWER = "call_type_call_answer";

    //网络速度
    public static final String ACTION_NET_WORK_SPEED = "net_work_speed";

    //打开/关闭网络速度监听
    public static final String ACTION_OPEN_NET_WORK_SPEED = "open_net_work_speed";

    //来电
    public static final String ACTION_INCOMING_CALL = "incoming_call";

    /**
     * 来电去电类型
     */
    public static final String CALL_TYPE = "call_type";

    public static final String CALL_TOKEN = "call_token";

    /**
     * 呼出电话已应答
     */
    public static final String OUT_CALL_ANSWERED = "out_call_answered";

    /**
     * 去电
     */
    public static final int CALL_TYPE_OUT = 1;

    /**
     * 来电
     */
    public static final int CALL_TYPE_INCOMING = 2;

    /**
     * 会议邀请
     */
    public static final int CALL_TYPE_MEETING_INVITE = 3;

    /**
     * SharedPreferences name
     */
    public static final String PREFS_FILE_NAME = "eagle";


    public static final String VOIP_DBNAME = "VOIP_DEMO_DB";
    public static final String CONFERENCE_ROOM_TITLE_KEY = "CONFERENCE_ROOM_TITLE_KEY";
    public static final String CONFERENCE_ROOM_ID = "CONFERENCE_ROOM_ID";
    public static final String CONFERENCE_INVITE_PEOPLES_KEY = "CONFERENCE_INVITE_PEOPLES_KEY";
    public static final String mConfPrefix = "mconf_";
    public static final String EXITACTION = "EXITACTION";

    public static final String FILTER_CHANNELID = "0000000000";
    public static final String HAND_FREE_ON = "切换听筒";
    public static final String HAND_FREE_OFF = "切换免提";

    public static final class UserStatus {
        public static final int OFFLINE = 0;
        public static final int ONLINE = 1;
    }

}
